package gwt.bbsbot.client;

import gwt.bbsbot.client.beans.QuestionDataBean;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void addQuestion(String name, String question_data, String genre, AsyncCallback<String> callback);
	void getAllQuestions(AsyncCallback<List<QuestionDataBean>> callback);
	void getQuestionsByGenre(String genre, AsyncCallback<List<QuestionDataBean>> callback);
	void getMentions(AsyncCallback<List<String>> callback);
}
